package org.dromara.llm.domain.bo;

import org.dromara.llm.domain.FileLang;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 语言文件业务对象 file_lang
 *
 * @author Miles Meng
 * @date 2025-06-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = FileLang.class, reverseConvertGenerate = false)
public class FileLangBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 语言
     */
    private String lang;

    /**
     * 语言文件名称
     */
    @NotBlank(message = "语言文件名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String langFileName;

    /**
     * 文件路径
     */
    @NotBlank(message = "文件路径不能为空", groups = { AddGroup.class, EditGroup.class })
    private String filePath;


}
